					<div align="center">
						<div class="ui-accordion ui-widget ui-helper-reset">
							<h4 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-top">{L_SERVER_NAME}</h4>
							<div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
<!-- IF_EDIT_PROFILE_BEGIN -->
								<form action="{U_EDIT_PROFILE}" method="post" enctype="multipart/form-data" name="edit_profile">
<!-- IF_EDIT_PROFILE_END -->
								<table cellspacing="0" border="0" cellpadding="2" class="text ui-widget-content ui-corner-all">
									<tr>
										<td colspan="2" class="text ui-widget-content ui-corner-all td_center"><strong>&nbsp;&nbsp;{L_EDIT_PROFILE}&nbsp;&nbsp;</strong></td>
									</tr>
									<tr>
										<td colspan="2" class="text ui-widget-content ui-corner-all ui-state-disabled td_center"><em><strong>{L_MAIN_DATA}:</strong></em></td>
									</tr>
<!-- IF_VIEW_LOGIN_EMAIL_BEGIN -->
									<tr>
										<td class="td_left"><strong>{L_LOGIN}:</strong>&nbsp;</td>
										<td class="td_center"><em>{D_LOGIN}</em></td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_EMAIL}:</strong>&nbsp;</td>
										<td class="td_center">
<!-- IF_EDIT_PROFILE_BEGIN -->
											<input type="text" name="email" value="{D_EMAIL}" size="20" maxlength="50" class="text ui-widget-content<!-- IF_ACTIVATED_NEED_BEGIN --> ui-state-highlight<!-- IF_ACTIVATED_NEED_END --> ui-corner-all{ERROR_EMAIL}" title="{L_IF_CHANGE_EMAIL}" />
<!-- IF_EDIT_PROFILE_ELSE -->
											<em>{D_FILT_EMAIL}</em>
<!-- IF_EDIT_PROFILE_END -->
										</td>
									</tr>
<!-- IF_VIEW_LOGIN_EMAIL_END -->
									<tr>
										<td class="td_left"><strong>{L_USERNAME}:</strong>&nbsp;</td>
										<td class="td_center">
<!-- IF_EDIT_USERNAME_BEGIN -->
											<input type="text" name="name" value="{D_USERNAME}" size="20" maxlength="50" class="text ui-widget-content ui-corner-all{ERROR_NAME}" />
<!-- IF_EDIT_USERNAME_ELSE -->
											<em>{D_USERNAME}</em>
<!-- IF_EDIT_USERNAME_END -->
										</td>
									</tr>
<!-- IF_EDIT_PROFILE_BEGIN -->
									<tr>
										<td class="td_left"><strong>{L_PASSWORD}:</strong>&nbsp;</td>
										<td class="td_center">
											<input type="password" name="pass" size="20" maxlength="50" class="text ui-widget-content ui-corner-all ui-state-highlight{ERROR_PASS}" title="{L_IF_CHANGE_PASS}" />
										</td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_RE_PASSWORD}:</strong>&nbsp;</td>
										<td class="td_center">
											<input type="password" name="re_pass" size="20" maxlength="50" class="text ui-widget-content ui-corner-all ui-state-highlight{ERROR_RE_PASS}" title="{L_IF_CHANGE_PASS}" />
										</td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_LANGUAGE}:</strong>&nbsp;</td>
										<td class="td_center">
											<select name="language" id="language" class="text ui-widget-content profile{ERROR_LANGUAGE}">
<!-- ARRAY_LANGUAGE_BEGIN -->
												<option value="{ID_LANGUAGE}"{D_SELECTD}>{D_LANGUAGE_NAME}</option>
<!-- ARRAY_LANGUAGE_END -->
											</select>
										</td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_THEME}:</strong>&nbsp;</td>
										<td class="td_center">
											<select name="theme" id="theme" class="text ui-widget-content profile{ERROR_THEME}">
<!-- ARRAY_THEME_BEGIN -->
												<option value="{ID_THEME}"{D_SELECTD}>{D_THEME_NAME}</option>
<!-- ARRAY_THEME_END -->
											</select>
										</td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_DATE_FORMAT}:</strong>&nbsp;</td>
										<td class="td_center">
											<input type="text" name="date_format" value="{D_DATE_FORMAT}" size="20" maxlength="50" class="text ui-widget-content ui-corner-all{ERROR_DATE_FORMAT}" title="{L_DATE_FORMAT_DESC}" />
										</td>
									</tr>
<!-- IF_EDIT_PROFILE_END -->
									<tr>
										<td class="td_left"><strong>{L_GROUP}:</strong>&nbsp;</td>
										<td class="td_center"><span title="{D_GROUP_DESC}"><em>{D_GROUP}</em></span></td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_DATA_REGIST}:</strong>&nbsp;</td>
										<td class="td_center"><em>{D_DATA_REGIST}</em></td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_ACTIVATED}:</strong>&nbsp;</td>
										<td class="td_center"><em>{D_ACTIVATED}</em></td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_BANNED}:</strong>&nbsp;</td>
										<td class="td_center"><em>{D_BANNED}</em></td>
									</tr>
									<tr>
										<td colspan="2" class="text ui-widget-content ui-corner-all ui-state-disabled td_center"><em><strong>{L_CONTACT_DATA}:</strong></em></td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_LOCATION}:</strong>&nbsp;</td>
										<td class="td_center">
<!-- IF_EDIT_PROFILE_BEGIN -->
											<input type="text" name="location" value="{D_LOCATION}" size="20" maxlength="50" class="text ui-widget-content ui-corner-all{ERROR_LOCATION}" />
<!-- IF_EDIT_PROFILE_ELSE -->
											<em>{D_LOCATION}</em>
<!-- IF_EDIT_PROFILE_END -->
										</td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_ICQ}:</strong>&nbsp;</td>
										<td class="td_center">
<!-- IF_EDIT_PROFILE_BEGIN -->
											<input type="text" name="icq" value="{D_ICQ}" size="20" maxlength="50" class="text ui-widget-content ui-corner-all{ERROR_ICQ}" />
<!-- IF_EDIT_PROFILE_ELSE -->
											<em>{D_ICQ}</em>
<!-- IF_EDIT_PROFILE_END -->
										</td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_JABBER}:</strong>&nbsp;</td>
										<td class="td_center">
<!-- IF_EDIT_PROFILE_BEGIN -->
											<input type="text" name="jabber" value="{D_JABBER}" size="20" maxlength="50" class="text ui-widget-content ui-corner-all{ERROR_JABBER}" />
<!-- IF_EDIT_PROFILE_ELSE -->
											<em>{D_JABBER}</em>
<!-- IF_EDIT_PROFILE_END -->
										</td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_DESC}:</strong>&nbsp;</td>
										<td class="td_center">
<!-- IF_EDIT_PROFILE_BEGIN -->
											<textarea name="desc" rows="10" cols="30" class="text ui-widget-content ui-corner-all{ERROR_DESC}">{D_DESC}</textarea>
<!-- IF_EDIT_PROFILE_ELSE -->
											<em>{D_DESC}</em>
<!-- IF_EDIT_PROFILE_END -->
										</td>
									</tr>
									<tr>
										<td colspan="2" class="text ui-widget-content ui-corner-all ui-state-disabled td_center"><em><strong>{L_GAME_DATA}:</strong></em></td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_FACTION}:</strong>&nbsp;</td>
										<td class="td_center"><em>{D_FACTION}</em></td>
									</tr>
									<tr>
										<td class="td_left"><strong>{L_ALLIANCE}:</strong>&nbsp;</td>
										<td class="td_center"><em>{D_ALLIANCE}</em></td>
									</tr>
									<tr>
										<td colspan="2" class="text ui-widget-content ui-corner-all ui-state-disabled td_center"><em><strong>{L_AVATAR}:</strong></em></td>
									</tr>
									<tr>
										<td class="td_center"<!-- IF_NO_EDIT_PROFILE_BEGIN --> colspan="2"<!-- IF_NO_EDIT_PROFILE_END -->><img src="{U_AVATAR}" alt="{D_USERNAME}" width="{D_AVATAR_WIDTH}" height="{D_AVATAR_HEIGHT}" class="avatar" title="{D_USERNAME}" /></td>
<!-- IF_EDIT_PROFILE_BEGIN -->
										<td>
											<table width="100%" cellspacing="0" border="0" cellpadding="0">
												<tr>
													<td class="td_center">
<!-- IF_UPLOAD_AVATAR_BEGIN -->
														{L_CAN_UPLOAD}<br /><br />
														<input type="file" name="avatar_upload" size="20" maxlength="250" onchange="this.form.delete_avatar.checked = 'checked';" class="text ui-widget-content ui-corner-all{ERROR_AVATAR_UPLOAD}" /><br />
														<input type="hidden" name="MAX_FILE_SIZE" value="{D_MAX_AVATAR_SIZE}" /><br />
														{L_OR}
														<br /><br />
													</td>
												</tr>
												<tr>
													<td class="td_center">
<!-- IF_UPLOAD_AVATAR_END -->
														<input type="button" disabled="disabled" name="gallery_avatar" value="{L_GALLERY_AVATAR}" id="gallery_avatar" class="ui-state-default ui-corner-all ui-state-focus ui-state-disabled" title="{L_GALLERY_AVATAR}" onclick="{U_GALLERY_AVATAR}" />
														<br /><br />
														<input type="checkbox" name="delete_avatar" />&nbsp;{L_DELETE_AVATAR}
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td colspan="2" class="td_center">
											<script type="text/javascript">
												$(function()
												{
													$('#edit_profile').hover(function(){$(this).addClass("ui-state-hover");}, function(){$(this).removeClass("ui-state-hover");})
													.mousedown(function(){$(this).addClass("ui-state-active");})
													.mouseup(function(){$(this).removeClass("ui-state-active");});
												});
											</script>
											<br /><input type="submit" name="edit_profile" value="{L_SAVE_PROFILE}" id="edit_profile" class="ui-button ui-state-default ui-corner-all" title="{L_SAVE_PROFILE}" />
										</td>
<!-- IF_EDIT_PROFILE_END -->
									</tr>
								</table>
<!-- IF_EDIT_PROFILE_BEGIN -->
								</form>
<!-- IF_EDIT_PROFILE_END -->
							</div>
						</div>
					</div>
